package cn.as142.service.impl;

import cn.as142.pojo.Users;
import cn.as142.service.UserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Override
    public String login(Users users) {
        if ("zs".equals(users.getUsername())&&"123".equals(users.getPassword())){
            return "ok";
        }
        return "false";
    }
}
